package edu.sctu.xuping.month06.fastjsondata;

/**
 * Created by user02 on 2015/7/2.
 */
import java.io.IOException;

/**
 * Created by user02 on 2015/6/28.
 */


public class RunJson {
    public static void main(String[] args) throws IOException {
        JsonGoods jsonGoods = new JsonUtil().getInformation();
        System.out.println(jsonGoods.error);
        System.out.println(jsonGoods.message);
        System.out.println(jsonGoods.count);
        for(int i = 0;i < jsonGoods.list.size();i++){
            GoodsAttribute goodsAttribute = jsonGoods.list.get(i);
            System.out.println(goodsAttribute.rec_id);
            System.out.println(goodsAttribute.brand_id);
            System.out.println(goodsAttribute.category_id);
            System.out.println(goodsAttribute.goods_id);
            System.out.println(goodsAttribute.goods_price);
        }

    }
}
